projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed53f19
)
tmem: one-liner correcting stat parsing ordering
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 12 Aug 2009 13:06:30 +0000
(14:06 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 12 Aug 2009 13:06:30 +0000
(14:06 +0100)
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
tools/misc/xen-tmem-list-parse.c
patch
|
blob
|
history
diff --git
a/tools/misc/xen-tmem-list-parse.c
b/tools/misc/xen-tmem-list-parse.c
index da21434a948aa0d1a16572f0bc8ab06b6b137b80..35eeb9d3148d47aea90b915f234178e8f7f12c11 100644
(file)
--- a/
tools/misc/xen-tmem-list-parse.c
+++ b/
tools/misc/xen-tmem-list-parse.c
@@
-185,8
+185,8
@@
void parse_client(char *s)
"eph_count=%llu,max_eph=%llu,"
"compression ratio=%lu%% (samples=%llu,poor=%llu,nomem=%llu)\n",
cli_id, weight, cap, compress?1:0, frozen?1:0,
- eph_count, max_eph_count,
total_cycles, succ_eph_gets, succ_pers_puts, succ_pers_gets,
+ eph_count, max_eph_count,
compressed_pages ? (long)((compressed_sum_size*100LL) /
(compressed_pages*PAGE_SIZE)) : 0,
compressed_pages, compress_poor, compress_nomem);